<?php get_header(); ?>
  
<?php include(TEMPLATEPATH.'/leftsidebar.php'); ?>

<div id="container">
    <?php if(have_posts()): ?>
    
    <?php while(have_posts()): the_post(); ?>
    	<div class="post" id="post-<?php the_ID(); ?>">
      		<h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
      		<div class="entry">
        		<?php the_content(); ?>
                <?php link_pages('<p><strong>Pages:</strong>','</p>', 'number'); ?>
				<?php edit_post_link('Edit', '<p>', '</p>'); ?>
      		</div>
            <br />
    	</div>
        
    <?php endwhile; ?>
        
    <?php else: ?>
    	<div class="post">
      		<h2><?php _e('Not Found'); ?></h2>
    	</div>
        
	<?php endif; ?>
</div>
  
<?php include(TEMPLATEPATH.'/rightsidebar.php'); ?>
  
<?php get_footer(); ?>